#include "mainwindow.h"
#include <hyperspin.h>

#include <QApplication>
#include <QFontDatabase>
#include <QListView>
#include <QDir>

int main(int argc, char *argv[])
{
  QApplication a(argc, argv);

  hs::init_dirs(QApplication::applicationDirPath());

  QFontDatabase fontDatabase;
  fontDatabase.addApplicationFont(":/fonts/font_C.ttf");

  QFont f=QApplication::font();

  f.setFamily("Aller Light");
  f.setPointSize(20);
  f.setStyleStrategy(QFont::PreferAntialias);
  QApplication::setFont(f);

  MainWindow w;
  w.showFullScreen();
  w.enableControls();

  return a.exec();
}
